package com.boco.modules.fdoc.service;

import java.util.List;

import com.boco.modules.fdoc.model.UserRelationsEntity;

public interface UserRelationsService {
	/**
	 * 新增
	 * @param userRelationsEntity
	 * @return
	 */
	public int insert(UserRelationsEntity userRelationsEntity);
	/**
	 * 修改
	 * @param userRelationsEntity
	 * @return
	 */
	public int update(UserRelationsEntity userRelationsEntity);
	/**
	 * 删除单个家庭成员
	 * @param userRelationsEntity
	 * @return
	 */
	public int delete(UserRelationsEntity userRelationsEntity);
	/**
	 * 通过用户id获取家属列表
	 * @param userRelationsEntity
	 * @return
	 */
	public List<UserRelationsEntity> getByUid(String uid);
}
